const express = require("express");
const router = express.Router();

module.exports = router;

router
  .route("/")
  .get((req, res) => {
    res.render("admin", { title: "后台首页" });
  })
  .post((req, res) => {
    res.sendStatus(500);
  });
